<template>
  <div>
    <h1>{{ msg }}</h1>
  </div>
</template>
<script>
export default {
  setup (props) {
    return new Promise((resolve, reject) => {
      setTimeout(() => {
        resolve({
          msg: '你好'
        })
      }, 2000)
    })
  }
}
</script>
<style lang="less"></style>
